
function login(){
	$.post(contextPath + "/login", $(".form").serialize(), function(data){
		window.location = contextPath + data;
	});
}

function logout(){
	window.location = contextPath + "/logout";
}